
const train = {
    // 课程增加修改删除
    course: ['add','edit','remove'],
    // 类型管理
    courseBankType: ['add','edit','remove','disable'],
    //课程价格
    coursePrice: ['list','add','edit','remove'],
    bankQuestion: ['look','query','edit','add'],
    bank: ['add','addAll','remove','edit','publish'],
    bankRule: ['add','query','edit', 'remove'],
    count: ['export','pagelogin'],
}
const trainButton = {}
for (const key in train) {
    train[key].map((trainItem) => {
        let trainName = 'train' + key + trainItem
        let trainValue = 'train:' + key + ':' + trainItem
        trainButton[trainName] = trainValue
    })
}
export default trainButton
